<div class="row-fluid listcontent">
    <div class="span12">
        <div class="portlet box grey">
            <div class="portlet-title">
                <div class="caption"><i class="icon-cogs"></i>丢失的狗狗穿戴特列表</div>
                <div class="actions" id="orderaline">
                    <div class="btn-group">
                        <a href="/configure/saveAdopt" class="btn blue"><i class="icon-pencil"></i>&nbsp;&nbsp;添加</a>
                    </div>
                    <div class="btn-group">
                        <a class="btn blue" href="#" data-toggle="dropdown">
                            <i class="icon-cogs"></i>&nbsp;&nbsp;操作
                            <i class="icon-angle-down"></i>
                        </a>
                        <ul class="dropdown-menu pull-right">
                            <li><a id="info_delete"><i class="icon-trash"></i>删除领养原因</a></li>
                        </ul>
                    </div>
                </div>
            </div>
            <div class="portlet-body">
                <div class="dataTables_wrapper form-inline">
                    <div class="row-fluid">
                        <div class="span12">
                            <form id="searchform" action="{$action}" method="post">
                            </form>
                        </div>
                    </div>
                    <table id="basicinfo" class="table table-hover table-bordered">
                        <thead>
                        <th style="width:8px;"><input type="checkbox"/></th>
                        <th>ID</th>
                        <th>领养原因</th>
                        <th style="width:110px;">操作</th>
                        </thead>
                        <tbody>
                        {if(count($list)>0)}
                        {volist name='list' id='val'}
                        <tr class="odd gradeX ">
                            <td><input type="checkbox" class="checkboxes" name="id" value="{$val.reason_id}"/></td>
                            <td>{$val.reason_id}</td>
                            <td>{$val.reason_name}</td>
                            <td>
                                <a class="btn mini purple reset" data-id='{$val.reason_id}'><span>编辑</span></a>
                            </td>
                        </tr>
                        {/volist}
                        {else/}
                        <tr>
                            <td colspan="16"><span style="margin-left: 50px">暂无数据</span></td>
                        </tr>
                        {/if}
                        </tbody>
                    </table>
                    <input type="hidden" name="page" value="{$page?$page:''}">
                </div>
            </div>
        </div>
        {if(!empty($list))}
        {$list->render()}
        {/if}
    </div>
</div>